/**
 * 获得货品相关信息
 * @author jeff liu
 * powered by jeff 2011-06-07
 */

var goodsspec_retrieval = {};

/**
 * 获得商品某个规格的价格
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductPrice = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_PRICE_API);
};

/**
 * 获得商品某个规格的详细信息
 * @author jeff liu
 * powered by jeff liu 2011-06-08
 */
goodsspec_retrieval.apiGetProductDetail = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_DETAIL_API);
};
/**
 * 获得商品所有规格的详细信息
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductListByGoodsId = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_LIST_BY_GOODS_ID_API);
};

/**
 * 获得商品某个规格的库存量
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductStock = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_STOCK_API);
};

/**
 * 获得商品某个规格的SKU
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductSku = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_SKU_API);
};

/**
 * 获得商品某个规格的库存量
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductSuggestPrice = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_SUGGESTPRICE_API);
};

/**
 * 获得商品某个规格的规格属性(spec_1,spec_2,color_rgb)
 * @author jeff liu
 * powered by jeff 2011-06-07
 */
goodsspec_retrieval.apiGetProductSpec = function (ele) {
    window.__common_prototype(ele, GET_PRODUCT_SPEC_API);
};

EMALL.regist("goodsspec_retrieval", goodsspec_retrieval);